home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 119
/
(Vol 119) Nov 09 2010.iso
/
TGKI-109
/
Games
/
agent_platformer.swf
/
scripts
/
frame_1
/
DoAction.as
Wrap
Text File
|
2010-11-09
|
455b
|
19 lines
stop();
once = false;
onEnterFrame = function()
{
myLoaded = Math.round(getBytesLoaded());
myTotal = Math.round(getBytesTotal());
myPercent = myLoaded / myTotal;
myText = Math.round(myPercent * 100) + "%";
bar.gotoAndStop(Math.round(myPercent * 100));
if(myLoaded == myTotal and once == false)
{
once = true;
nextFrame();
}
};
var hide = new ContextMenu();
hide.hideBuiltInItems();
_root.menu = hide;